package com.alks.function.mapper.biocontrol.deptwork;

import com.alks.entity.data.entity.CpLastSlipDetail;
import com.alks.function.data.dto.biocontrol.deptwork.LastSlipDetDto;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ms
 * @since 2024-03-18
 */
public interface BC_DW_CpLastSlipDetailMapper extends BaseMapper<CpLastSlipDetail> {

    /**
     * 获取楦头订单明细部分数据
     *
     * @param slipNo    单据号
     * @param companyId
     * @return 楦头订单明细部分数据
     */
    List<LastSlipDetDto> lastDetQuery(@Param("slipNo") String slipNo, @Param("companyId") String companyId);


    List<Map<String,Object>> stkQuery(@Param("lastNo") String lastNo, @Param("sizeNoList") List<String> sizeNoList, @Param("companyId") String companyId, @Param("stkName") String stkName);
}
